package com.cskaoyan.mapper;

import com.cskaoyan.bean.po.ohter.MarketCollect;
import com.cskaoyan.bean.po.ohter.MarketCollectExample;
import java.util.List;

import com.cskaoyan.bean.po.wx_cart.CollectInfo;
import org.apache.ibatis.annotations.Param;

public interface MarketCollectMapper {
    long countByExample(MarketCollectExample example);

    int deleteByExample(MarketCollectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketCollect row);

    int insertSelective(MarketCollect row);

    List<MarketCollect> selectByExample(MarketCollectExample example);

    MarketCollect selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketCollect row, @Param("example") MarketCollectExample example);

    int updateByExample(@Param("row") MarketCollect row, @Param("example") MarketCollectExample example);

    int updateByPrimaryKeySelective(MarketCollect row);

    int updateByPrimaryKey(MarketCollect row);

    List<CollectInfo> queryCollectGoods(@Param("userId") Integer userId,@Param("type") Integer type);
}